package org.jeecg.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.base.po.EntityBase;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 质维码
 * @Author: jeecg-boot
 * @Date: 2020-05-22
 * @Version: V1.0
 */
@Data
@TableName("xb_qsc_record")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "xb_qsc_record对象", description = "码质维码生产分配记录")
public class QscRecord extends EntityBase {

    /**
     * 质维码
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "关系id")
    private Integer id;

    @ApiModelProperty(value = "0生成1生产2分配3作废")
    private Integer type;
    @Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "公司1，生产商4")
    private Integer ownerType;

    @Excel(name = "所属id", width = 15)
    @ApiModelProperty(value = "所属id")
    private Integer ownerId;

    @ApiModelProperty(value = "开始id")
    private Integer qsc_begin_id;
    @ApiModelProperty(value = "结束id")
    private Integer qsc_end_id;


    @ApiModelProperty(value = "概要描述")
    private String summary;
}
